package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Name Goods
 * @Author BaiXin
 * @Date 2022-10-19 19:39
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {

    /**
     * id
     */
    private Integer id;
    /**
     * 商品
     */
    private String name;
    /**
     * 售价
     */
    private Long price;
    /**
     * 进价
     */
    private Integer costprice;
    /**
     * 库存量
     */
    private Integer surplusnum;
    /**
     * 总售量
     */
    private Integer allnum;
    /**
     * 创建时间
     */
    private Date created;

}
